package com.SRMS.domain;

import java.io.Serializable;

/**
 * @author Albert
 * @version 1.0
 * @date 2023/12/16-15:33
 * @describe RightRecord视图对应类
 */
public class RightRecord implements Serializable {
    private String rightId;
    private String studentId;
    private String studentName;
    private String studyRoomId;
    private String address;
    private String roomName;
    private String applicationTime;

    public RightRecord() {
    }

    public RightRecord(String rightId, String studentId, String studentName, String studyRoomId, String address, String roomName, String applicationTime) {
        this.rightId = rightId;
        this.studentId = studentId;
        this.studentName = studentName;
        this.studyRoomId = studyRoomId;
        this.address = address;
        this.roomName = roomName;
        this.applicationTime = applicationTime;
    }

    public String getRightId() {
        return rightId;
    }

    public void setRightId(String rightId) {
        this.rightId = rightId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudyRoomId() {
        return studyRoomId;
    }

    public void setStudyRoomId(String studyRoomId) {
        this.studyRoomId = studyRoomId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(String applicationTime) {
        this.applicationTime = applicationTime;
    }

    @Override
    public String toString() {
        return rightId + "\t\t" + studentId + "\t\t" + studentName + "\t\t" + studyRoomId + "\t\t\t\t" + address + "\t\t" + roomName + "\t\t\t\t" + applicationTime;
    }
}
